package wyu.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.entity.UserPostCollect;
import org.springframework.stereotype.Service;
import wyu.mapper.UserPostCollectMapper;

import javax.annotation.Resource;
import java.util.List;
@Service
public class UserPostCollectServiceImpl extends ServiceImpl<UserPostCollectMapper, UserPostCollect> implements UserPostCollectService {
    @Resource
    UserPostCollectMapper userPostCollectMapper;

    @Override
    public List<String> getCollectList(int postId) {
        return userPostCollectMapper.getCollectList(postId);
    }
}
